<?php
namespace App\Providers;

use Core\ServiceProvider;
use Core\DatabaseManager;

class AppServiceProvider extends ServiceProvider
{
    public function register()
    {
        // 注册自定义服务
        // $this->container->singleton('cache', function($container) {
        //     $config = $container->make('config');
        //     return new CacheManager($config['cache']);
        // });
    }
    
    public function boot()
    {
        // 启动服务
    }
}
